Modifies SAML authentication settings.
Security
ApiKeyAuth
IdP SAML metadata in XML format.
Example:"<?xml version=\"1.0\"?>\n<md:EntityDescriptor\n xmlns:md=\"urn:oasis:names:tc:SAML:2.0:metadata\"\n entityID=\"https://some-idp.company.com/\"\n>\n
Controls if SLO should be used when signing-out from Hub:
true- SLO is enabled. This requiresSingleLogoutServiceconfiguration to be included inidp_metadata,false- SLO is not enabled.
Controls verbosity of SAML error page:
true- Show detailed error message,false- Show generic error message without details.
- Main US regionhttps://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/access_restriction/saml
- EU regionhttps://subdomain-of-your-account.app-eu1.statushub.io/api/v3/hubs/{subdomain}/access_restriction/saml
curl -i -X PUT \
'https://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/access_restriction/saml?api_version=V3-R1' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"enabled": true,
"idp_metadata": "<?xml version=\"1.0\"?>\n<md:EntityDescriptor\n xmlns:md=\"urn:oasis:names:tc:SAML:2.0:metadata\"\n entityID=\"https://some-idp.company.com/\"\n>\n...\n</md:EntityDescriptor>\n",
"slo": true,
"debug": true,
"sign_out_target": "http://example.com"
}'OK
IdP SAML metadata in XML format.
Example:"<?xml version=\"1.0\"?>\n<md:EntityDescriptor\n xmlns:md=\"urn:oasis:names:tc:SAML:2.0:metadata\"\n entityID=\"https://some-idp.company.com/\"\n>\n
Controls verbosity of SAML error page:
true- Show detailed error message,false- Show generic error message without details.
Location where user will be redirected after successful sign-out.
Controls if SLO should be used when signing-out from Hub:
true- SLO is enabled. This requiresSingleLogoutServiceconfiguration to be included inidp_metadata,false- SLO is not enabled.
Response
{ "enabled": true, "idp_metadata": "<?xml version=\"1.0\"?>\n<md:EntityDescriptor\n xmlns:md=\"urn:oasis:names:tc:SAML:2.0:metadata\"\n entityID=\"https://some-idp.company.com/\"\n>\n...\n</md:EntityDescriptor>\n", "debug": true, "sign_out_target": "http://example.com", "slo": true, "sp_data": { "certificate_url": "http://example.com", "metadata_url": "http://example.com", "entity_id": "http://example.com", "sso_url": "http://example.com", "slo_url": "http://example.com" } }